const dialog = {
    state: {
       visiable: false
    },
    mutations: {
        setvisiable: (state,one) => {
            if(one===1){
                state.visiable = true
            }else if(one===0){
                state.visiable = false
            }

        },
    },
    getters: {
        getvisiable: state => {
            return state.visiable;
        }
    },
    actions: {},
    modules: {}
}

export default dialog
